package org.mspring.mlog.dao;

import org.mspring.mlog.entity.CommentEntity;
import org.mspring.nbee.db.dao.IBaseDao;

import java.util.List;

/**
 * @author Gao Youbo
 * @since 2015-01-03 14:38:16
 */
public interface CommentEntityDao extends IBaseDao<CommentEntity> {
    /**
     * 根据文章查找
     *
     * @param articleId
     * @return
     */
    public List<CommentEntity> listByArticle(long articleId);

    /**
     * 根据多说id查找
     *
     * @param duoshuoCommentId
     * @return
     */
    public CommentEntity findByDuoshuoCommentId(long duoshuoCommentId);
}
